﻿@charset "UTF-8";
/**
 * 
 * @authors Your Name (you@example.org)
 * @date    2015-07-01 15:19:55
 * @version $Id$
 */
html,body{
    height:100%;
    overflow:hidden;
    background-color: #8affab;
    background-image: url(../images/checkin_main.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
}
.checkin-wrapper {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.checkin-header {
    padding: 25px 25px 15px 110px;
    min-height: 68px;
    background-color: #01420d;
    color: #fff;
    position: relative;
}

.checkin-main {
    position: relative;
    min-height: 400px;
    padding-top: 45px;
    overflow: hidden;
}

.checkin-days {
    min-height: 100px;
    position: relative;
}

.my-days {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.my-days-wrapper {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

    .my-days-wrapper span {
        margin: auto;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        color: #fff;
        text-align:center;
    }

    .my-days-wrapper em {
        font-style: normal;
        font-size: 36px;
        font-weight: 700;
        padding: 10px 20px 0 10px;
    }

.checkin-days img {
    width: 100%;
    height: auto;
}

.checkin-rules {
    position: absolute;
    top: 10px;
    right: 10px;
    background: url(../images/rule.png) no-repeat 0 center;
    background-size: 100% auto;
    width: 128px;
    height: 68px;
    line-height: 68px;
    color: #101010;
    padding-left: 10px;
    padding-top: 5px;
    z-index: 1;
}

.show-rules {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0);
    width: 128px;
    height: 68px;
    line-height: 68px;
    padding-left: 10px;
    padding-top: 5px;
    z-index: 2;
    text-indent: -99999px;
    overflow: hidden;
}

.weixin-avarta {
    width: 80px;
    height: 80px;
    border-radius: 80px;
    position: absolute;
    left: 20px;
    bottom: -15px;
    border: 4px solid #fff;
    box-shadow: 2px 2px 3px #2b3110;
    z-index: 3;
}

.checkin-btn img {
    width: 100%;
    height: auto;
}

.checkin-tracker {
    width: 100%;
    padding: 25px 0 0 35px;
    position: relative;
}

.checkin-tracker-bar {
    width: 100%;
    height: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #609e72;
    box-shadow: 1px 1px 2px #2b3110 inset;
}

    .checkin-tracker-bar ol {
        position: absolute;
        width: 100%;
        left: 35px;
        top: 22px;
    }

.checkin-tracker-bar-point {
    position: relative;
    display: inline-block;
    margin-right: 7%;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: -1px 1px 2px #2b3110 inset;
    border: 1px solid #91cc36;
}

    .checkin-tracker-bar-point img {
        position: absolute;
        top: 36px;
        left: -15px;
    }

.check-mark {
    display: none;
}

.check-num {
    position: absolute;
    top: 30px;
    left: -1px;
    font-size: 26px;
    color: #000;
}

.has-checkedin .check-mark {
    display: block;
}

.has-checkedin .check-num {
    display: none;
}

.pin {
    width: 21px;
    height: 21px;
    -webkit-border-radius: 21px 21px 21px 0;
    border-radius: 21px 21px 21px 0;
    background: #31ab98;
    border: 1px solid #288577;
    position: absolute;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: -2px;
    top: -4px;
    box-shadow: -1px 1px 2px #2b3110 inset;
}

    .pin:after {
        content: '';
        width: 10px;
        height: 10px;
        background: #eae8db;
        position: absolute;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        left: 4px;
        top: 5px;
    }

.rules {
    margin: 25px 25px 80px 25px;
    padding: 15px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
    z-index: 5;
}

    .rules dl {
        text-align: left;
        padding: 5px 5px;
        margin-bottom: 30px;
    }

        .rules dl dt {
            margin: 10px 0;
            font-size: 18px;
        }

        .rules dl dd {
            margin: 5px 0;
            font-size: 16px;
        }

.checkin-success-wrapper,
.rules-wrapper {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.75);
    z-index: 4;
}

.checkin-success {
    margin: auto 45px;
    padding: 35px 15px;
    height: 160px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
    border-radius: 5px;
    z-index: 5;
    text-align: center;
    font-size: 24px;
}
.checkin-success p{
    font-size: 16px;
}


.lucky-wrapper {
    background-color: #8affab;
    background-image: url(../images/checkin_main.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    position: relative;
    height: 100%;
    width: 100%;
}

.ruleText img {
    width: 32%;
    position: absolute;
    top: 230px;
    left: 120px;
    z-index: 2;
}
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.5, 1.5, 1.5);
        transform: scale3d(1.5, 1.5, 1.5);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.5, 1.5, 1.5);
        transform: scale3d(1.5, 1.5, 1.5);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}
.giftbox{
    display: block;
    width: 40px;
    height: 56px; 
    background: url(../images/giftbox.png) no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    right: -13px;
    bottom: 19px;
    text-indent: -999999em;
    overflow: hidden;
}




.lucky-wrapper{
    background-color: #8affab;
    background-image: url(../images/checkin_main.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    position: relative; 
    height: 100%;
    width: 100%;
    overflow: hidden;
    padding: 45px 0 0;
}
.ruleText img{ width:32%; position: absolute;top:230px;left:120px; z-index: 2;}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.5, 1.5, 1.5);
        transform: scale3d(1.5, 1.5, 1.5);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.5, 1.5, 1.5);
        transform: scale3d(1.5, 1.5, 1.5);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}
.giftbox{
    display: block;
    width: 40px;
    height: 56px; 
    background: url(../images/giftbox.png) no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    left: -13px;
    top: -60px;
    text-indent: -999999em;
    overflow: hidden;
}

.ly-plate{
    position:relative;
    width:509px;
    height:509px;
    margin: 50px auto;
}
.rotate-bg{
    width:530px;
    height:531px;
    background:url(../images/ly-plate.png);
    position:absolute;
    top:0;
    left:0
}
.ly-plate div.lottery-star{
    width:286px;
    height:286px;
    position:absolute;
    top:120px;
    left:120px;
    /*text-indent:-999em;
    overflow:hidden;
    background:url(rotate-static.png);
    -webkit-transform:rotate(0deg);*/
    outline:none
}
.ly-plate div.lottery-star #lotteryBtn{
    cursor: pointer;
    position: absolute;
    top:0;
    left:0;
    *left:-107px
}